package com.quanyan.orderpay.request;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author songzj
 * @date 16/6/27-11:57
 */
public class ReqRefundProduct implements Serializable {
    private String productId;
    private String productName;
    private Integer quantity;
    private BigDecimal price;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "{" +
                "\"productId\":'" + productId + '\'' +
                ", \"productName\":'" + productName + '\'' +
                ", \"quantity\":" + quantity +
                ", \"price\":" + price +
                '}';
    }
}
